﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BSCSCampaignSegmentPage.aspx.vb" Inherits="ccapps.BSCSCampaignSegment" %>
<%@ Register TagPrefix="cc1" Namespace="ccapps.BillingNetControlLibrary" Assembly="ccapps" %>

<!DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html"; charset="iso-8859-9"/>
	<title>Campaign Segment Definition</title>

    <style type="text/css">
        .labelCss {
            display: inline-block;
            float: left;
            width: auto;
            height: auto;
            font-size:12px;
            font-family: 'Segoe UI',Arial, Helvetica;
            color:black;
        }
        .ddlCss {
		-webkit-appearance: none;  /*Removes default chrome and safari style*/
		-moz-appearance: none; /* Removes Default Firefox style*/
		width: 150px; /*Width of select dropdown to give space for arrow image*/
        height:27px;
		text-indent: 0.01px; /* Removes default arrow from firefox*/
		padding: 5px;
        vertical-align:central;
	    }
        .txtBoxCss {
            display: inline-block;
            float: left;
            width: 150px;
            height: 27px;
        }
        .buttonCss {
            display: inline-block;
            width: 10px;
            height: 27px;
        }
        .body{
            padding-left: 0;
            padding-right: 0;
            margin-left: auto;
            margin-right: auto;
            display: block;
            width: 1200px;
        }
         #ui-datepicker-div { font-size:11px; }
    </style>

    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"/>
    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css"/>


     
    <script>
        $(function () {
            $("#datepicker").datepicker({ dateFormat: 'dd.mm.yy' });
            $.datepicker.regional['tr'] = {
                closeText: 'kapat',
                prevText: '&#x3c;geri',
                nextText: 'ileri&#x3e',
                currentText: 'bugün',
                monthNames: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
                'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
                monthNamesShort: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz',
                'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
                dayNames: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],
                dayNamesShort: ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
                dayNamesMin: ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
                weekHeader: 'Hf',
                dateFormat: 'dd.mm.yy',
                firstDay: 1,
                isRTL: false,
                showMonthAfterYear: false,
                yearSuffix: ''
            };
            $.datepicker.setDefaults($.datepicker.regional['tr']);
        });
    </script>
   

</head>
<body class="body">
    <form id="form1" runat="server">
        <table style="BORDER-COLLAPSE: collapse; border-spacing:10px" id="Table1" border="0" >
            <tr id ="sameAsTariff" runat="server">
                <td class="solbaslik">
           		    <asp:Label text=" Referans Alınacak Tarife:" runat="server" />	
           	    </td>
                <td>                       
                    <asp:dropdownlist id="ddlSameAsTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Selected="True" Text="Hayır" Value="No"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                    </asp:dropdownlist>                   
                </td>
                <td>
           		    <div id="sameAsBox01_a" runat="server" visible="False">
           			    <asp:TextBox id="txtKeywordGeneral" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeywordGeneral" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox01_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlTariffListGeneral" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox01_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel01" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td style="width:200px">
           		    <asp:Label ID="lblErr01" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr>
		        <td class="solbaslik">
                    <asp:Label text="Lansman Tarihi:" runat="server" />
		        </td>
                <td colspan="2"> 
                    <input type="text" style="width:150px; height:27px;" id="datepicker" runat="server" />                    
                </td>    
                <td>
           		    <asp:Label ID="lblErrDate" runat="server" ForeColor="red" />	
           	    </td>                                                
            </tr>
            <tr id ="tariffType" runat="server">
                <td class="solbaslik">
            		<asp:Label text="* Tarife Tipi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffType" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Bireysel" Value="Bireysel"></asp:ListItem>
                        <asp:ListItem Text="Kurumsal" Value="Kurumsal"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
            		<div id="sameAsBox02_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword02" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword02" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox02_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList02" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox02_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel02" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr02" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="tariffLineType" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Tarife Hat Tipi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffLineType" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox03_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword03" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword03" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox03_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList03" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox03_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel03" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr03" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="tariffDeviceSegment" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Tarife Cihaz Segmenti:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffDeviceSegment" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox04_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword04" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword04" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox04_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList04" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox04_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel04" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr04" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="tariffSegment" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Tarife Segmenti:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffSegment" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss" />
                </td>
                <td>
            		<div id="sameAsBox05_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword05" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword05" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox05_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList05" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox05_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel05" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr05" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="GPOSegment" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* GPO ise Segmenti:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlGPOSegment" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox06_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword06" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword06" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox06_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList06" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox06_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel06" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr06" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="isJetTariff" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Jet Tarifesi mi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlIsJetTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox08_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword08" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword08" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox08_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList08" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox08_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel08" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr08" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="isM2MTariff" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* M2M Tarifesi mi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlIsM2MTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox09_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword09" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword09" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox09_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList09" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox09_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel09" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr09" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="isCorpSMSTariff" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Kurumsal SMS Tarifesi mi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlIsCorpSMSTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox10_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword10" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword10" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox10_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList10" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox10_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel10" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr10" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="isFPMTariff" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* FPM Tarifesi mi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlIsFPMTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox11_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword11" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword11" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox11_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList11" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox11_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel11" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr11" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="isPOSTariff" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* POS Tarifesi mi:" runat="server"/>	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlIsPOSTariff" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss"/>
                </td>
                <td>
            		<div id="sameAsBox12_a" runat="server" visible="False">
            			<asp:TextBox id="txtKeyword12" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeyword12" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox12_b" runat="server" visible="False">
            			<asp:dropdownlist id="ddlTariffList12" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
            		<div id="sameAsBox12_c" runat="server" visible="False">
            			<asp:Label id="sameAsLabel12" runat="server" text="" ForeColor="green" />				
            		</div>
            	</td>
                <td>
           		    <asp:Label ID="lblErr12" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Label runat="server" ForeColor="red" Text=" * Zorunlu Alanlar" />
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td style="width:768px; text-align:right">
                    <asp:button id="updateButton" runat="server" CausesValidation="False" Text="Taslağı Kaydet" class="button01" />
                    <asp:button id="saveButton" runat="server" CausesValidation="False" Text="Kaydet" class="button01" />
                </td>
            </tr>
            <tr>
                <td>
                        <asp:Label id="finalStatus" runat="server" ForeColor="Black" Font-Size="12px"/>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
